package com.freight.user.service;

import com.freight.user.entity.CompanyDriver;
import com.freight.user.vo.CompanyRelationshipVo;

import java.util.List;

public interface CompanyDriverService {

    void saveCompanyDriver(Long driverId, Long companyId);

    void deleteCompanyDriver(Long companyDriverId);

    List<CompanyRelationshipVo> getCompanyDriverList(Long driverId);

    List<CompanyRelationshipVo> getCompanyRelationshipList(Long driverId);
}
